package com.now.printer.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.view.View;

import com.now.printer.R;
import com.now.printer.base.BaseActivity2;

public class AboutUsActivity extends BaseActivity2 {


    @Override
    public int getLayoutId() {
        return R.layout.activity_about_us;
    }

    @Override
    public void doBusiness(Context mContext) {

        findViewById(R.id.tv_back).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        findViewById(R.id.ll_user_xieyi).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(AboutUsActivity.this, TermsActivity.class);
                startActivity(intent);
            }
        });

        findViewById(R.id.ll_yinsi).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(AboutUsActivity.this, PrivacyPolicyActivity.class);
                startActivity(intent);
            }
        });
    }

}